import getlink from "@/api/getapi.js"
let er1m={
    state:{
        arr:[],
    },
    mutations:{
        UPDATA(state,payload){
            state.arr=payload
        }
    },
    actions:{
        LINK_DATA(context,payload){
            
            getlink(payload).then((ok)=>{
                // console.log(ok);
                context.commit("UPDATA",ok.data)
            })
        }
    }
}
export default er1m